set(SOURCES matchislandsectionsgetsymbols.cpp)

if(NOT CYGWIN AND LLVM_ENABLE_PIC)
  set(SHARED_LIB_SOURCES ${SOURCES})

  set(bsl ${BUILD_SHARED_LIBS})

  set(BUILD_SHARED_LIBS ON)

  add_llvm_library(matchislandsectionsgetsymbols ${SHARED_LIB_SOURCES}
                   LINK_LIBS LW)

  set(BUILD_SHARED_LIBS ${bsl})

endif()

add_plugin(matchislandsectionsgetsymbols)
